cmake_minimum_required(VERSION 3.1)

project(sk_storage)

# set the C++ standard
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

enable_testing()

file(GLOB_RECURSE DIR_SRCS
    ${PROJECT_SOURCE_DIR}/src/*.cc
)

add_library(${PROJECT_NAME} STATIC ${DIR_SRCS})
find_package(Threads REQUIRED)
target_link_libraries(${PROJECT_NAME} Threads::Threads cpp_tools_nec_fs)

add_library(cpp_tools_sk_storage ALIAS ${PROJECT_NAME})

target_include_directories(${PROJECT_NAME}
    PUBLIC ${PROJECT_SOURCE_DIR}/include
)

